
window.onload = function (){
    function $(id){return document.getElementById(id)}
    var alist = document.getElementsByTagName("li");
    alist[0].onclick = function (){
        $("content2").style.display= "none";
        $("content1").style.display= "block";
    }
    alist[1].onclick = function (){
        $("content1").style.display= "none";
        $("content2").style.display= "block";
    }

}